package org.nimi317.web_gis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.nimi317.web_gis.entity.Job;

import java.util.List;

/**
 * @author thunderobot
 */
public interface IJobService extends IService<Job> {

    /**
     * 获取所有任务
     */
    List<Job> getAllJobs();

    Job getJobById(Integer id);

    void start(Integer id);

    void stop(Integer id);
}
